package com.domino.shared;

import java.io.Serializable;

import com.domino.shared.Player;
import com.domino.shared.model.Point;
import com.domino.shared.session.SessionId;

public class SessionStateRequest implements Serializable {

	SessionId sessionId;
	Player player;
	int numberOfBricks;
	
	public SessionStateRequest() {
	}

	public SessionStateRequest(SessionId sessionId, Player player, int numberOfBricks) {
		this.sessionId = sessionId;
		this.player = player;
		this.numberOfBricks = numberOfBricks;
	}

	public SessionId getSessionId() {
		return sessionId;
	}

	public Player getPlayer() {
		return player;
	}

	public int getNumberOfBricks() {
		return numberOfBricks;
	}

	@Override
	public String toString() {
		return "SessionStateRequest [numberOfBricks=" + numberOfBricks
				+ ", player=" + player + ", sessionId=" + sessionId + "]";
	}

	
	

}
